package com.agrishare.payload.request;

import javax.validation.constraints.NotBlank;

public class PostRequest {
    @NotBlank
    private String title;
    
    @NotBlank
    private String content;
    
    private Long categoryId;

    // Getters and Setters
    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Long getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(Long categoryId) {
        this.categoryId = categoryId;
    }
}